[INFO] fetching crate cargo-trim 0.7.0...
[INFO] testing cargo-trim-0.7.0 against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] extracting crate cargo-trim 0.7.0 into /workspace/builds/worker-1/source
[INFO] validating manifest of crates.io crate cargo-trim 0.7.0 on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate cargo-trim 0.7.0
[INFO] finished tweaking crates.io crate cargo-trim 0.7.0
[INFO] tweaked toml for crates.io crate cargo-trim 0.7.0 written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate crates.io crate cargo-trim 0.7.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24b85a43559aa85acdc5a2f4d8e99cd1e8cba8a9ab88c99119ac6a8f7f849af6
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "24b85a43559aa85acdc5a2f4d8e99cd1e8cba8a9ab88c99119ac6a8f7f849af6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24b85a43559aa85acdc5a2f4d8e99cd1e8cba8a9ab88c99119ac6a8f7f849af6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24b85a43559aa85acdc5a2f4d8e99cd1e8cba8a9ab88c99119ac6a8f7f849af6", kill_on_drop: false }`
[INFO] [stdout] 24b85a43559aa85acdc5a2f4d8e99cd1e8cba8a9ab88c99119ac6a8f7f849af6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 32162d8a4bdeb944b48f6d478ab85fe211ce00e14bd5cfa422ed3fa7fcc385ae
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "32162d8a4bdeb944b48f6d478ab85fe211ce00e14bd5cfa422ed3fa7fcc385ae", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.45
[INFO] [stderr]    Compiling libc v0.2.79
[INFO] [stderr]    Compiling ucd-trie v0.1.3
[INFO] [stderr]    Compiling maplit v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling pest v2.1.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dirs-sys v0.3.5
[INFO] [stderr]    Compiling colored v2.0.0
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling pest_meta v2.1.3
[INFO] [stderr]    Compiling dirs v3.0.1
[INFO] [stderr]    Compiling pest_generator v2.1.3
[INFO] [stderr]    Compiling pest_derive v2.1.0
[INFO] [stderr]    Compiling semver-parser v0.10.0
[INFO] [stderr]    Compiling semver v0.11.0
[INFO] [stderr]    Compiling toml v0.5.7
[INFO] [stderr]    Compiling cargo-trim v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:959:28
[INFO] [stdout]     |
[INFO] [stdout] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stdout]     |                           --                                   --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 26.30s
[INFO] running `Command { std: "docker" "inspect" "32162d8a4bdeb944b48f6d478ab85fe211ce00e14bd5cfa422ed3fa7fcc385ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32162d8a4bdeb944b48f6d478ab85fe211ce00e14bd5cfa422ed3fa7fcc385ae", kill_on_drop: false }`
[INFO] [stdout] 32162d8a4bdeb944b48f6d478ab85fe211ce00e14bd5cfa422ed3fa7fcc385ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cca53f7791cab37caabe2de429f0524854dbb8152c57611211fa7d59de2b6377
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "cca53f7791cab37caabe2de429f0524854dbb8152c57611211fa7d59de2b6377", kill_on_drop: false }`
[INFO] [stderr]    Compiling cargo-trim v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:959:28
[INFO] [stdout]     |
[INFO] [stdout] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stdout]     |                           --                                   --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/main.rs:959:28
[INFO] [stdout]     |
[INFO] [stdout] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stdout]     |                           --                                   --
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.90s
[INFO] running `Command { std: "docker" "inspect" "cca53f7791cab37caabe2de429f0524854dbb8152c57611211fa7d59de2b6377", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cca53f7791cab37caabe2de429f0524854dbb8152c57611211fa7d59de2b6377", kill_on_drop: false }`
[INFO] [stdout] cca53f7791cab37caabe2de429f0524854dbb8152c57611211fa7d59de2b6377
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3b32ecd4929b77de45e675d276be8248ca69839e8df705893868354002a173d5
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "3b32ecd4929b77de45e675d276be8248ca69839e8df705893868354002a173d5", kill_on_drop: false }`
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stderr]     |                           --                                   --
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stderr]     |                           --                                   --
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running unittests (/opt/rustwide/target/debug/deps/cargo_trim-2e1fe18c7ee43013)
[INFO] [stdout] 
[INFO] [stderr]      Running tests/command_output.rs (/opt/rustwide/target/debug/deps/command_output-72dbbd2f0148ac2d)
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 6 tests
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stderr]     |                           --                                   --
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help config`
[INFO] [stdout] cargo-trim-config 0.7.0
[INFO] [stdout] Query about config file data used by CLI
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim config [FLAGS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -d, --directory    Query about directory data
[INFO] [stdout]     -h, --help         Prints help information
[INFO] [stdout]     -i, --ignore       Query about ignored file name data
[INFO] [stdout]     -l, --location     Return config file location
[INFO] [stdout]     -p, --print        Print/Display config file content
[INFO] [stdout]     -V, --version      Prints version information
[INFO] [stdout] test test_config_help ... ok
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stderr]     |                           --                                   --
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help remove`
[INFO] [stderr]     Blocking waiting for file lock on build directory
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stderr]     |                           --                                   --
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help registry`
[INFO] [stdout] cargo-trim-remove 0.7.0
[INFO] [stdout] Remove values from config file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim remove [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -n, --dry-run    Run command in dry run mode to see what would be removed
[INFO] [stdout]     -h, --help       Prints help information
[INFO] [stdout]     -V, --version    Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -d, --directory <directory>...    Directory to be removed
[INFO] [stdout]     -i, --ignore <file>...            Remove file name from ignore file name list
[INFO] [stdout] test test_remove_help ... ok
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stdout] cargo-trim-registry 0.7.0
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stdout] Perform operation only to registry related cache file
[INFO] [stderr]     |
[INFO] [stdout] 
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stdout] USAGE:
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     cargo trim registry [FLAGS] [OPTIONS]
[INFO] [stderr]     |
[INFO] [stdout] 
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stdout] FLAGS:
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stdout]     -a, --all                 Clean up all registry crates
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stdout]     -n, --dry-run             Run command in dry run mode to see what would be removed
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stdout]     -h, --help                Prints help information
[INFO] [stderr]     |
[INFO] [stdout]     -l, --light               Light cleanup repo by removing registry source but stores registry archive for future
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stdout]                               compilation
[INFO] [stderr]     |                           --                                   --
[INFO] [stdout]     -o, --old-clean           Clean old cache crates
[INFO] [stderr] 
[INFO] [stdout]     -z, --old-orphan-clean    Clean crates which is both old and orphan
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stdout]     -x, --orphan-clean        Clean orphan cache crates i.e all crates which are not present in lock file generated till
[INFO] [stderr] 
[INFO] [stdout]                               now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stdout]     -q, --query               Return size of different .cargo/registry cache folders
[INFO] [stdout]     -V, --version             Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -r, --remove <crate>...    Remove provided crates from registry
[INFO] [stdout]     -t, --top <number>         Show certain number of top registry crates which have highest size
[INFO] [stdout] test test_registry_help ... ok
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help git`
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stderr]     |                           --                                   --
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.03s
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help list`
[INFO] [stdout] cargo-trim-git 0.7.0
[INFO] [stdout] Perform operation only to git related cache file
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim git [FLAGS] [OPTIONS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all                 Clean up all git crates
[INFO] [stdout]     -n, --dry-run             Run command in dry run mode to see what would be removed
[INFO] [stdout]     -h, --help                Prints help information
[INFO] [stdout]     -l, --light               Light cleanup repo by removing git checkout but stores git db for future compilation
[INFO] [stdout]     -o, --old-clean           Clean old cache crates
[INFO] [stdout]     -z, --old-orphan-clean    Clean crates which is both old and orphan
[INFO] [stdout]     -x, --orphan-clean        Clean orphan cache crates i.e all crates which are not present in lock file generated till
[INFO] [stdout]                               now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query               Return size of different .cargo/git cache folders
[INFO] [stdout]     -V, --version             Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -r, --remove <crate>...    Remove provided crates from git
[INFO] [stdout]     -t, --top <number>         Show certain number of top git crates which have highest size
[INFO] [stdout] test test_git_help ... ok
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]    --> src/main.rs:959:28
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!(format!("Failed to generate Cargo.lock {}", e));
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(non_fmt_panic)]` on by default
[INFO] [stderr]     = note: this is no longer accepted in Rust 2021
[INFO] [stderr]     = note: the panic!() macro supports formatting, so there's no need for the format!() macro here
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]     |
[INFO] [stderr] 959 |                     panic!("Failed to generate Cargo.lock {}", e);
[INFO] [stderr]     |                           --                                   --
[INFO] [stderr] 
[INFO] [stderr] warning: 1 warning emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stdout] cargo-trim-list 0.7.0
[INFO] [stdout] List out crates
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim list [FLAGS]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all           list out all installed crate
[INFO] [stdout]     -h, --help          Prints help information
[INFO] [stdout]     -o, --old           List out old crates
[INFO] [stdout]     -z, --old-orphan    List out crates which is both old and orphan
[INFO] [stdout]     -x, --orphan        List out orphan crates
[INFO] [stdout]     -u, --use           List out used crates
[INFO] [stdout]     -V, --version       Prints version information
[INFO] [stdout] test test_list_help ... ok
[INFO] [stderr]      Running `/opt/rustwide/target/debug/cargo-trim trim help`
[INFO] [stdout] cargo-trim 0.7.0
[INFO] [stdout] Saurav Sharma <appdroiddeveloper@gmail.com>
[INFO] [stdout] Binary application to cleanup $CARGO_HOME cache
[INFO] [stdout] 
[INFO] [stdout] USAGE:
[INFO] [stdout]     cargo trim [FLAGS] [OPTIONS] [SUBCOMMAND]
[INFO] [stdout] 
[INFO] [stdout] FLAGS:
[INFO] [stdout]     -a, --all                 Clean up all registry & git crates
[INFO] [stdout]     -n, --dry-run             Run command in dry run mode to see what would be removed
[INFO] [stdout]     -h, --help                Prints help information
[INFO] [stdout]     -l, --light               Light cleanup repo by removing git checkout and registry source but stores git db and
[INFO] [stdout]                               registry archive for future compilation without internet requirement
[INFO] [stdout]     -o, --old-clean           Clean old cache crates
[INFO] [stdout]     -z, --old-orphan-clean    Clean crates which is both old and orphan
[INFO] [stdout]     -x, --orphan-clean        Clean orphan cache crates i.e all crates which are not present in lock file generated till
[INFO] [stdout]                               now use cargo trim -u to guarantee your all project generate lock file
[INFO] [stdout]     -q, --query               Return size of different .cargo/cache folders
[INFO] [stdout]     -u, --update              Generate and Update Cargo.lock file present inside config directory folder path
[INFO] [stdout]     -V, --version             Prints version information
[INFO] [stdout] 
[INFO] [stdout] OPTIONS:
[INFO] [stdout]     -d, --directory <directory>...    Set directory of Rust project [use TRIM_DIRECTORY environment variable for
[INFO] [stdout]                                       creating directory list without editing configuration file]
[INFO] [stdout]     -g, --gc <git compress>           Git compress to reduce size of .cargo [possible values: all, index, git, git-
[INFO] [stdout]                                       checkout, git-db]
[INFO] [stdout]     -i, --ignore <file>...            Add file name/directory name to ignore list in configuration file which are
[INFO] [stdout]                                       ignored while scanning Cargo.toml file [use TRIM_IGNORE_FILE_NAME environment
[INFO] [stdout]                                       variable for creating ignore file name list without editing configuration file]
[INFO] [stdout]     -r, --remove <crate>...           Remove provided crates from registry or git
[INFO] [stdout]     -t, --top <number>                Show certain number of top crates which have highest size
[INFO] [stdout]     -w, --wipe <folder>...            Wipe folder [possible values: git, checkouts, db, registry, cache, index, index-
[INFO] [stdout]                                       cache, src]
[INFO] [stdout] 
[INFO] [stdout] SUBCOMMANDS:
[INFO] [stdout]     clear       Clear current working directory from cargo cache config
[INFO] [stdout]     config      Query about config file data used by CLI
[INFO] [stdout]     git         Perform operation only to git related cache file
[INFO] [stdout]     help        Prints this message or the help of the given subcommand(s)
[INFO] [stdout]     init        Initialize current working directory as cargo trim directory
[INFO] [stdout]     list        List out crates
[INFO] [stdout]     registry    Perform operation only to registry related cache file
[INFO] [stdout]     remove      Remove values from config file
[INFO] [stdout] test test_help ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3b32ecd4929b77de45e675d276be8248ca69839e8df705893868354002a173d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b32ecd4929b77de45e675d276be8248ca69839e8df705893868354002a173d5", kill_on_drop: false }`
[INFO] [stdout] 3b32ecd4929b77de45e675d276be8248ca69839e8df705893868354002a173d5
